.pageWorks {
  --item-gap: 120px;
  --item-width: 280px;
  --item-height: calc(var(--item-width) * 3 / 4);

  padding: 160px 0;
  box-sizing: border-box;
  font-family: sans-serif;
  text-align: center;

  @media screen and (max-width: 1600px) {
    --item-gap: 80px;
    --item-width: 200px;
  }

  @media screen and (max-width: 1024px) {
    --item-gap: 60px;
    --item-width: 160px;
  }

  .section {
    display: inline-block;
    text-align: left;
    box-sizing: border-box;
    margin-bottom: var(--item-gap);
    padding: 0 calc(var(--item-gap) * 0.5);
  }

  .category {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .list {
    width: 100%;
    display: inline-grid;
    grid-template-columns: repeat(3, var(--item-width));
    grid-gap: var(--item-gap);

    .item {
      width: var(--item-width);
      max-height: 400px;
      position: relative;
      cursor: pointer;

      &:hover {
        opacity: 0.65;
      }

      .poster {
        width: 100%;
        height: var(--item-height);
        object-fit: cover;
        background: #fff;
        filter: saturate(80%) brightness(110%);
      }

      .info {
        display: flex;
        flex-direction: column;
        margin-top: 10px;
        gap: 3px;

        .title {
          margin: 0;
          font-size: 14px;
          color: rgba(0, 0, 0, 85%);
        }

        .tech {
          font-size: 10px;
          display: flex;
          flex-wrap: wrap;
          gap: 4px;
          line-height: 1;

          > li {
            border: 1px solid rgba(0, 0, 0, 45%);
            color: rgba(0, 0, 0, 85%);
            padding: 2px 4px 4px;
            border-radius: 3px;
            white-space: nowrap;
          }
        }

        .desc {
          font-size: 12px;
          line-height: 1.5;
          color: rgba(0, 0, 0, 45%);
        }
      }
    }
  }

  @media screen and (max-width: 768px) {
    --item-gap: 20px;
    --item-width: calc((100vw / 2 - var(--item-gap)));
    padding: 40px 0;

    .category {
      font-size: 16px;
    }

    .list {
      grid-template-columns: repeat(2, var(--item-width));
      grid-gap: calc(var(--item-gap) * 0.5);
    }
  }
}
